gtkbutton: Handle crossing events without the event window
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 31 Mar 2017 15:59:43 +0000 (17:59 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 May 2017 14:25:58 +0000 (16:25 +0200)
commit5836beee78fc3acf7a48ec01ab1dda72eac2bfc0
treedbbda839f001699dde107b22fd95fdbaaf7722be
parent23d21267298035dea59c33df5d7c54bdfb052bad
gtkbutton: Handle crossing events without the event window

The event shall no longer be "directed" to the event window, but the
widget. Getting a enter/leave event is enough now to know whether the
pointer is inside or outside the widget.
gtk/gtkbutton.c
gtk/gtkbuttonprivate.h
gtk/gtkmodelbutton.c